import request from '@/utils/request'

// 获取groupId
export function getGroupId(query) {
  return request({
    url: '/file/getGroupId',
    method: 'post',
    params: query
  })
}


// 删除数据
export function deleteFileById(data) {
  return request({
    url: '/file/deleteFileById',
    method: 'post',
    params: data
  })
}

// 获取文件列表
export function getFileListByGroupId(query) {
  return request({
    url: '/file/getFileListByGroupId',
    method: 'post',
    params: query
  })
}
